#1

	firstarray = [3, 5, 1, 2, 7, 9, 8, 13, 25, 32]

	puts firstarray.inject(0) { |result, element| result + element} #sum

	puts firstarray.find_all{|i| i > 10}


#2

	secondarray = %w[john kb oliver cory matthew christopher]

	secondarray.shuffle

	puts secondarray.find_all{|i| i.length > 5}


#3


	thirdarray = %w[a b c d e f g h i j k l m n o p q r s t u v w x y z]

	thirdarray = thirdarray.shuffle

	puts thirdarray.first
	puts thirdarray.last
	puts "this is a vowel" if thirdarray.last == 'a' or thirdarray.last == 'e' or thirdarray.last == 'i' or thirdarray.last == 'o' or thirdarray.last == 'u'


#4

	puts rand(55..100)

	fourtharray = [rand(55..100), rand(55..100), rand(55..100), rand(55..100), rand(55..100), rand(55..100), rand(55..100), rand(55..100), rand(55..100), rand(55..100)]

	puts fourtharray;

#5

	puts fourtharray.sort

	puts fourtharray.max

	puts fourtharray.min


#6 



	test = "";

	for i  in 1..5

		test += (65+rand(26)).chr 

	end

	puts test


#7
	fiftharray = Array.new

	for k in 1..10
		test = ""
			for i  in 1..5

			test += (65+rand(26)).chr 
			end
		fiftharray.push(test);
	end


	puts fiftharray